<?php
/**
 * Created by PhpStorm.
 * User: ownfi
 * Date: 2017-03-20
 * Time: 14:15
 */

namespace App\Services;

/**
 * cookie相关
 * @author ownfi
 */
interface ICookieService
{

    /**
     * 预先已验证手机号
     * @return mixed
     */
    public function verifiedPhone($phoneNum = null, $minutes = 10);

    /**
     * 当前用户id
     * @param null $userid
     * @return mixed
     */
    public function currentUserid($userid = null, $minutes = 30);

    /**
     * 当前微信用户id
     * @param null $userid
     * @return mixed
     */
    public function currentWeixinUserid($userid = null, $minutes = 30);

}